<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<title>My JSP 'add.jsp' starting page</title>
<link href="<%=basePath%>manager/css/style.css" rel="stylesheet"
	type="text/css" />
<script type="text/javascript"
	src="<%=basePath%>common/js/jQuery-1.9.1.js"></script>
<script type="text/javascript"
	src="<%=basePath%>manager/js/jQuery.validate.js"></script>
<script type="text/javascript"
	src="<%=basePath%>common/js/jquery_validate/jQuery.message_cn.js"></script>
<script type="text/javascript"
	src="<%=basePath%>common/js/jquery_validate/jQuery.metadate.js"></script>
	<script type="text/javascript"
	src="<%=basePath%>common/js/jquery_validate/jQuery.extension.js"></script>
<script type="text/javascript"
	src="<%=basePath%>manager/js/permissionMenu/add.js"></script>
<style type="text/css">
#addForm i.error {
	color: Red;
	border-width: 0px;
}
</style>
</head>

<body>
	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
			<li><a href="<%= application.getContextPath() %>/ common/pager/welcome.jsp">首页</a></li>
			<li><a>角色菜单管理</a></li>
			<li><a>添加角色菜单</a></li>
		</ul>
	</div>

	<div class="formbody">

		<div class="formtitle">
			<span>角色菜单信息</span>
		</div>

		<form action="../../manager_permissionmenu/insert" id="addForm" method="post">
			<ul class="forminfo">
			
				<li><label >菜单名</label> 
					<strong style="color: red">必填&nbsp;</strong>
					<input id="pmName" name="pmName" type="text" class="dfinput" /><i></i>
				</li>
				
				<li><label >菜单显示名称</label> 
					<strong>选填&nbsp;</strong>
					<input id="pmShowName" name="pmShowName" type="text" class="dfinput" /><i></i>
				</li>
				
				<li><label>namespace</label> 
					<strong style="color: red">必填&nbsp;</strong>
					<input id="pmNamespace" name="pmNamespace" type="text" class="dfinput" /><i></i>
				</li>
				
				<li><label>作用范围</label> <cite> 
					<strong style="color: red">必填&nbsp;</strong>
					<input name="pmMangerOrplatform" type="radio" value="0" checked="checked" />前端
					&nbsp;&nbsp;&nbsp;&nbsp;
					<input name="pmMangerOrplatform" type="radio" value="1" />后端 </cite>
				</li>
				
				<li><label>是否生效</label> <cite> 
					<strong style="color: red">必填&nbsp;</strong>
					<input name="pmStatus" type="radio" value="0" checked="checked" />是
					&nbsp;&nbsp;&nbsp;&nbsp;
					<input name="pmStatus" type="radio" value="1" />否</cite>
				</li>
				
				<li><label>备注</label> 
					<textarea id="remark" name="remark" class="textinput"></textarea><i></i>
				</li>
				
				<li><label>&nbsp;</label> 
					<input type="submit" class="btn" value="确认添加" />&nbsp;<input type="button" onclick="location.href='<%= application.getContextPath() %>/manager/permissionMenu/list.jsp'" class="btn" value="返回"  />
				</li>
			</ul>
		</form>
	</div>
</body>
</html>
